﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FisheryPlatform.Entity
{
    public class PostsEntity
    {
        private long _postId;
        /// <summary>
        /// 
        /// </summary> 
        public long PostId
        {
            get { return _postId; }
            set { _postId = value; }
        }

        private long _authorId;
        /// <summary>
        /// 
        /// </summary> 
        public long AuthorId
        {
            get { return _authorId; }
            set { _authorId = value; }
        }

        private string _title;
        /// <summary>
        /// 
        /// </summary> 
        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        private string _content;
        /// <summary>
        /// 
        /// </summary> 
        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        private PostStatusEnum _status;
        /// <summary>
        /// 1发布 3 草稿 （publish|pending|draft|private|static|object|attachment|inherit|future）
        /// </summary> 
        public PostStatusEnum Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private string _password;
        /// <summary>
        /// 
        /// </summary> 
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        private PostTypeEnum _type;
        /// <summary>
        /// 1:post 2:page 文章 页面
        /// </summary> 
        public PostTypeEnum Type
        {
            get { return _type; }
            set { _type = value; }
        }

        private System.DateTime _postDate;
        /// <summary>
        /// 
        /// </summary> 
        public System.DateTime PostDate
        {
            get { return _postDate; }
            set { _postDate = value; }
        }

        private System.DateTime _modifyDate;
        /// <summary>
        /// 
        /// </summary> 
        public System.DateTime ModifyDate
        {
            get { return _modifyDate; }
            set { _modifyDate = value; }
        }

    }
}
